package com.quan.api.fms;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.quan.commons.core.bean.R;
import com.quan.commons.core.biz.support.MyBaseController;
import com.quan.commons.core.utils.PageUtils;
import com.quan.commons.log.annotation.SysLog;
import com.quan.mall.commons.vo.FmsMemberWithdrawVo;
import com.quan.mall.entity.FmsMemberWithdraw;
import com.quan.mall.service.FmsMemberWithdrawService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;
import java.util.Arrays;
import java.util.List;


/**
 * 财务-会员提现申请
 *
 * @author yhaoquan
 * @email yhaoquan@163.com
 * @date 2021-03-26 15:19:14
 */
@Slf4j
@Api(tags = "财务-会员提现申请")
@RestController
@RequestMapping("/api/mall/fmsmemberwithdraw")
public class ApiFmsMemberWithdrawController extends MyBaseController {

    @Autowired
    private FmsMemberWithdrawService service;

    /**
     * 保存
     * @param vo
     * @return
     */
    @PostMapping("apply")
    public R apply(@RequestBody FmsMemberWithdrawVo vo) {
        return this.service.apply(vo);
    }



}
